﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminSubMasterPage.master" AutoEventWireup="true" CodeFile="FinSav002a.aspx.cs" Inherits="Admin_FinSav_FinSav002a" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript" src="/Scripts/Controls/DatePicker/WdatePicker.js""></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Service_table_tow">
        <tr>
            <td colspan="2" class="xin_y1 caption" align="center">
                财务凭证管理
            </td>
        </tr>
    
        <tr>
            <td class="xin_y2">
                凭证类型:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpDocType" runat="server" Category="CTE002" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                公司名称:
            </td>
            <td>
                <yncWebDDL:DrpCompany ID="drpCompany" runat="server" Required="true"  ShowSelectedItem="true">
                </yncWebDDL:DrpCompany>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                事业部:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpDivision" runat="server" Category="CTE005" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                职能部门:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpFunctionDept" runat="server" Category="CTE001" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                存储地点:
            </td>
            <td>
                <yncWebDDL:DrpThirdUnit ID="drpLocation" runat="server" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpThirdUnit>
            </td>
        </tr>
     
        <tr>
            <td class="xin_y2">
                存储状态:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpStorageStatus" runat="server" Category="CTE003" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                初次入库日期:
            </td>
            <td>
                <input class="Wdate textBox" style="width: 120px;" runat="server" readonly="readonly"
                        type="text" id="txtInDate" clientidmode="Static" onfocus="WdatePicker({maxDate:'#F{$dp.$DV(\'9998-12-31\')}'})" />
            </td>

        </tr>
        <tr>
            <td class="xin_y2">
                文档日期:
            </td>
            <td>
               <input class="Wdate textBox" style="width: 120px;" runat="server" readonly="readonly"
                        type="text" id="txtVoucherDate" clientidmode="Static" onfocus="WdatePicker({maxDate:'#F{$dp.$DV(\'9998-12-31\')}'})" />
            </td>

        </tr>
        <tr>
            <td class="xin_y2">
                文档描述:
            </td>
            <td>
                  
                <yncWebDDL:DrpCodeTable ID="drpDocDesc" runat="server" Category="CTE006" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpCodeTable>
            </td>

        </tr>
        <tr>
            <td class="xin_y2">
                备注:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtComments" runat="server" MaxValueLength="500" TextMode="MultiLine"
                    Width="260" Height="60"></yncWeb:yncTextBox>(Max length:500)
            </td>
        </tr>
      
        <tr>
            <td colspan="2" class="xin_y2" align="right">
                <asp:Button ID="btnSave" runat="server" Text="确认" OnClick="btnSave_Click" />
                <input type="button" value="关闭" onclick="javascript: window.top.CloseDialog(false);" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" height="24px">
                <asp:Label ID="lbMessage" runat="server" ForeColor="Red" Text="&nbsp;" Font-Bold="true" />
            </td>
        </tr>
    </table>
    <script type="text/javascript" src="<%=ResolveUrl("~/Scripts/Controls/chosen.jquery.min.js")%>"></script>    
    <script type="text/javascript">
        $(function () {
            $("#<%=drpDocDesc.ClientID %>").css('width', '212px').chosen({
                max_selected_options: 1,
                no_results_text: "No Datas",
                search_contains: true,
                allow_single_deselect: false
            });
        });
    </script>    
</asp:Content>



